#define  _CRT_SECURE_NO_WARNINGS 1
#include "BSTree.h"


void testBSTree()
{
	int a[] = { 8,3,1,10,6,4,7,14,13 };
	BSTree<int> t1;

	for (auto e : a)
	{
		t1.Insert(e);
	}

	t1.InOrder();

	t1.EraseR(14);
	t1.EraseR(8);
	t1.InOrder();


	
}

int main()
{
	testBSTree();

	return 0;
}